﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class UsersDAL
    {
        public bool Edit(UsersModel model)
        {
            string sql = $"update Users set pwd='{model.Pwd}'where Name='{model.Name}'";
            return new DBHelper().Zsg(sql);
        }
    }
}
